package com.longcai.service.nearbyshop;


import com.baomidou.mybatisplus.extension.service.IService;
import com.longcai.bean.ApiResult;
import com.longcai.bean.PageHelper;
import com.longcai.entity.nearby.ClyjNearbyShopsScheme;
import com.longcai.page.table.PageTableResponse;

/**
 * <p>
 * 附近商铺外卖方案 服务类
 * </p>
 *
 * @author M
 * @since 2019-04-25
 */
public interface ClyjNearbyShopsSchemeService extends IService<ClyjNearbyShopsScheme> {

    /**
     * 外卖方案列表
     *
     * @param clyjNearbyShopsScheme
     * @param pageHelper
     * @return
     */
    PageTableResponse schemeLists(ClyjNearbyShopsScheme clyjNearbyShopsScheme, PageHelper pageHelper);

    /**
     * 根据id获取外卖方案
     *
     * @param id
     * @return
     */
    ApiResult getSchemeInfo(String id);

    /**
     * 新增外卖方案
     *
     * @param clyjNearbyShopsScheme
     * @return
     */
    ApiResult saveScheme(ClyjNearbyShopsScheme clyjNearbyShopsScheme);

    /**
     * 修改外卖方案
     *
     * @param clyjNearbyShopsScheme
     * @return
     */
    ApiResult updateScheme(ClyjNearbyShopsScheme clyjNearbyShopsScheme);


    ApiResult deleteById(String id);

}
